<script setup lang="ts"></script>
<template>
  <div class="page-header-container">
    <div class="container-core page-header">
      <div class="logo">
        <img src="../assets/images/logo-black.svg" />
      </div>
      <div class="action-container">
        <div class="action-button">
          <ap-icon name="cart" :size="20" />
        </div>
        <div class="action-button">
          <ap-icon name="person" :size="20" />
        </div>
        <div class="action-button burger-btn">
          <ap-icon name="burger" :size="20" />
        </div>
      </div>
    </div>
  </div>
</template>

<style lang="less" scoped>
.page-header-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  // background: rgba(255, 255, 255, .5);
  // backdrop-filter: blur(5px);
  background: #FFFFFF;
  .page-header {
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    .logo {
      img { height: 100%; }
    }
    .action-container {
      display: flex;
      flex-direction: row;
      justify-content: flex-end;
      align-items: center;
      .action-button {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
      }
    }
  }
}

// Mobile
@media screen and (max-width: 767px) {
  .page-header-container {
    height: 45px;
    .logo {
      height: 20px;
    }
    .action-container {
      .action-button {
        height: 40px;
        margin-left: 20px;
      }
    }
  }
}

// Tablet
@media screen and (max-width: 1023px) and (min-width: 768px) {
  .page-header-container {
    height: 45px;
    .logo {
      height: 20px;
    }
    .action-container {
      .action-button {
        height: 40px;
        margin-left: 20px;
      }
    }
  }
}

// Desktop
@media screen and (min-width: 1024px) {
  .page-header-container {
    height: 60Px;
    .page-header {
      .logo {
        height: 20Px;
      }
    }
    .action-container {
      // gap: 20Px;
      .action-button {
        transition: all, 300ms;
        height: 40Px;
        width: 40Px;
        border-radius: 50%;
        cursor: pointer;
        &:hover {
          background: #f3f3f3;
          // width: 40Px;
        }
      }
      .burger-btn {
        display: none!important;
      }
    }
  }
}
</style>